home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / exec / interrupts.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  490b  |  27 lines

  1. #ifndef    EXEC_INTERRUPTS_H
  2. #define    EXEC_INTERRUPTS_H
  3. #ifndef    EXEC_NODES_H
  4. #include    "exec/nodes.h"
  5. #endif    /* !EXEC_NODES_H */
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif    /* !EXEC_LISTS_H */
  9. struct    Interrupt    {
  10. struct    Node    is_Node;
  11. APTR    is_Data;
  12. VOID    (*is_Code)();
  13. };
  14. struct    IntVector    {
  15. APTR    iv_Data;
  16. VOID    (*iv_Code)();
  17. struct    Node    *iv_Node;
  18. };
  19. struct    SoftIntList    {
  20. struct    List    sh_List;
  21. UWORD    sh_Pad;
  22. };
  23. #define    SIH_PRIMASK    (0xf0L)
  24. #define    INTB_NMI    15L
  25. #define    INTF_NMI    (1L<<15)
  26. #endif
  27.